#include "MzTime.h"


int getTimestamp(){
	return time(NULL);
}

void timestamp2Date(int timestamp, char* date){
	struct tm *info;
	
	info = localtime((time_t*)&timestamp);
	strftime(date, 80, "%Y-%m-%d %H:%M:%S", info);
}


